package org.yinweichen.llm_dataset_backend.service;

import org.springframework.http.ResponseEntity;
import org.yinweichen.llm_dataset_backend.DTO.PointsCreateDTO;
import org.yinweichen.llm_dataset_backend.DTO.PointsKeywordUpdateDTO;
import org.yinweichen.llm_dataset_backend.DTO.PointsUpdateDTO;
import org.yinweichen.llm_dataset_backend.entity.Points;
import java.util.List;

public interface PointsService {
    ResponseEntity<List<Points>> getPointsByAnswerId(Long questionId, String version);
    ResponseEntity<Points> createPoint(PointsCreateDTO pointsCreateDTO);
    ResponseEntity<Void> inactivatePoint(Long questionId, String version, Long subId);
    ResponseEntity<Void> activatePoint(Long questionId, String version, Long subId);
    ResponseEntity<Points> updateValue(PointsUpdateDTO pointsUpdateDTO);
    ResponseEntity<Points> updateKeyword(PointsKeywordUpdateDTO pointsKeywordUpdateDTO);
}
